-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.6.0
-
Code
-
Classes
- CartItemsCollection
Total Complexity |
30 |
Dependencies |
2 |
Dependents |
6 |
Total lines |
164 |
Lines of code |
88 |
Logical lines of code |
49 |
Comment lines |
31 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add() |
S |
58 |
5 |
15 |
sort_items() |
S |
62 |
5 |
12 |
getNotEmptyItemWithReferenceByHash() |
S |
67 |
4 |
8 |
getItemByHash() |
S |
67 |
3 |
8 |
removeItemByHash() |
S |
64 |
3 |
10 |
__clone() |
S |
69 |
2 |
7 |
getTotalQty() |
S |
69 |
2 |
7 |
__construct() |
S |
81 |
1 |
3 |
isEmpty() |
S |
80 |
1 |
3 |
get_items() |
S |
82 |
1 |
3 |
getHash() |
S |
71 |
1 |
6 |
purge() |
S |
81 |
1 |
3 |
getCount() |
S |
80 |
1 |
3 |